<div class="ui-dialog-content" style="width: 700px;  height: 428px;;max-height:450px;">
    <div class="auto-wrap">
        <div class="auto-wrap-con">
            <div class="fl right-panel">
                <div class="table-header clearfix">
                    <div class="search clearfix fl">
                        <h4 class="search-title f14" style="padding-top: 3px;">ERP用户列表</h4>
                        <input type="text" class="input-text fl" placeholder="用户代码/用户名称/移动电话" ng-model="erpUserBinder.keyword" ng-change="erpUserBinder.searchUsers()" style="width:300px">
                        <button class="fl btn permission" ng-click="erpUserBinder.searchUsers()">搜索</button>
                    </div>
                    <div class="fr btn-group">
                        <a href="javascript:;" class="btn permission p-00002701-06-inline" ng-click="erpUserBinder.genErpUser()">生成ERP用户</a>
                    </div>
                </div>
                <div class="mt15 table-wrap" style=" overflow-y: auto; max-height: 341px; min-height: 341px;">
                    <table width="100%" >
                        <thead>
                            <tr>
                                <th style="min-width:40px">序号</th>
                                <th style="min-width:60px">用户编码</th>
                                <th style="min-width:60px">用户名称</th>
                                <th style="min-width:60px">电话</th>
                                <!--<th style="min-width:60px">身份</th>-->
                                <!--<th style="min-width:60px">所属团队</th>-->
                                <th style="min-width:60px">所属公司</th>
                            </tr>
                        </thead>
                        <tbody ng-show="erpUserBinder.userList && erpUserBinder.userList.length">
                            <tr ng-repeat="user in erpUserBinder.userList" ng-click="erpUserBinder.select($index)" class="{{erpUserBinder.selected === $index ? 'selected' : ''}}">
                                <td height="30" ng-cloak>{{$index + 1}}</td>
                                <td height="30" ng-cloak>{{user.UserCode}}</td>
                                <td height="30" ng-cloak>{{user.UserName}}</td>
                                <td height="30" ng-cloak>{{user.MobilePhone}}</td>
                                <!--<td height="30" ng-cloak>{{user.MobileTel}}</td>-->
                                <!--<td height="30" ng-cloak>{{user.MobileTel}}</td>-->
                                <td height="30" ng-cloak>{{user.BUName}}</td>
                            </tr>
                        </tbody>
                    </table>
                    <div class="no-data" ng-if="erpUserBinder.userList && !erpUserBinder.userList.length">
                        <span>暂无数据</span>
                    </div>
                </div>
                <div ui-pagination
                    page-size="erpUserBinder.userListPager.pageSize"
                    total="erpUserBinder.userListPager.total"
                    changed="erpUserBinder.userListPager.change($pageIndex,erpUserBinder.userListPager.pageSize)"></div>
            </div>
        </div>
    </div>
</div>
